package simulation;

import java.awt.Dimension;


/**
 * objects that have the ability to be updated according to position and time since last update
 * 
 * @author Scott Valentine
 * @author Dagbedji Fagnisse
 * 
 * @param <T>
 */
public interface IUpdatable<T> {

    /**
     * updates object
     * 
     * @param elapsedTime - time since last update
     * @param bounds - bounds of current simulation
     */
    public abstract void update (double elapsedTime, Dimension bounds);
}
